package com.xmg.boot.demo.bootlesson1.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmg.boot.demo.bootcommon.utils.page.PageResult;
import com.xmg.boot.demo.bootlesson1.user.entity.pojo.User;

/**
 * @author ma
 * @date 2023/11/16
 * @description
 */
public interface UserService extends IService<User> {
    Page<User> getUserByPage(String userName,int currentIndex,int pageSize);

    PageResult<User> getCommonMethod(String userName, int currentIndex, int pageSize);
}
